package com.cow.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cow.mapper.BillMapper;
import com.cow.pojo.Bill;
import com.cow.service.BillService;

/**
 * @author 光环and鬼泣
 * @version 2018年6月14日 下午3:51:48
 */
@Service("billService")
public class BillServiceImpl implements BillService {

	@Autowired
	private BillMapper billMapper;

	@Override
	public int insertBill(Bill bill) throws Exception {
		int result = billMapper.insert(bill);
		return result;
	}

}
